package cm.org.birthday;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;

/**
 * @Author: caomin
 * @Date: 2019年01月04日
 * @Description: 启动入口
 */
@SpringBootApplication
public class BirthdayApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(BirthdayApplication.class, args);
    }

    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(BirthdayApplication.class);
    }

}
